package com.jzr.pda.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 病人信息（手工录入)
 * </p>
 *
 * @author henry
 * @since 2019-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TPatientExtra对象", description="病人信息（手工录入)")
public class TPatientExtra implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_patient_extra";
    public static final String Id_ = "id";
    public static final String PatientId_ = "patient_id";
    public static final String Diagnose_ = "diagnose";
    public static final String Allergy_ = "allergy";
    public static final String Diet_ = "diet";
    public static final String DoctorCode_ = "doctor_code";
    public static final String NurseCode_ = "nurse_code";
    public static final String UpdateBy_ = "update_by";
    public static final String UpdateTime_ = "update_time";


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "病人ID")
    @TableField("patient_id")
    private Integer patientId;

    @ApiModelProperty(value = "入院诊断")
    @TableField("diagnose")
    private String diagnose;

    @ApiModelProperty(value = "过敏类型")
    @TableField("allergy")
    private String allergy;

    @ApiModelProperty(value = "饮食")
    @TableField("diet")
    private String diet;

    @ApiModelProperty(value = "医生编码")
    @TableField("doctor_code")
    private String doctorCode;

    @ApiModelProperty(value = "护士编码")
    @TableField("nurse_code")
    private String nurseCode;

    @ApiModelProperty(value = "更新人ID")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
